package com.wctj.api.base.utils.lambda;

public class QueryConfigProperty {
    /**
     * 当不能直接通过mappedStatement获取sql时,使用该mapper方法的@Select获取
     */
    private boolean sqlWithAnnotation = true;

    /**
     * 是否只有在mapper类上有@QuerySupport时遍历方法列表获取support method
     */
    private boolean classShouldAnnotation = true;

    /**
     * 是否清除QuerySupportMethod中的变量
     */
    private boolean clearSupportMethodMap = true;
    private boolean clearPropertyList = true;
    private boolean clearMapperClassBuilderAssistantMap= true;

    public boolean isSqlWithAnnotation() {
        return sqlWithAnnotation;
    }

    public void setSqlWithAnnotation(boolean sqlWithAnnotation) {
        this.sqlWithAnnotation = sqlWithAnnotation;
    }

    public boolean isClassShouldAnnotation() {
        return classShouldAnnotation;
    }

    public void setClassShouldAnnotation(boolean classShouldAnnotation) {
        this.classShouldAnnotation = classShouldAnnotation;
    }

    public boolean isClearSupportMethodMap() {
        return clearSupportMethodMap;
    }

    public void setClearSupportMethodMap(boolean clearSupportMethodMap) {
        this.clearSupportMethodMap = clearSupportMethodMap;
    }

    public boolean isClearPropertyList() {
        return clearPropertyList;
    }

    public void setClearPropertyList(boolean clearPropertyList) {
        this.clearPropertyList = clearPropertyList;
    }

    public boolean isClearMapperClassBuilderAssistantMap() {
        return clearMapperClassBuilderAssistantMap;
    }

    public void setClearMapperClassBuilderAssistantMap(boolean clearMapperClassBuilderAssistantMap) {
        this.clearMapperClassBuilderAssistantMap = clearMapperClassBuilderAssistantMap;
    }
}
